﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001279 RID: 4729
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwapLineupCsReq : IMessage<SwapLineupCsReq>, IMessage, IEquatable<SwapLineupCsReq>, IDeepCloneable<SwapLineupCsReq>, IBufferMessage
	{
		// Token: 0x17003BF5 RID: 15349
		// (get) Token: 0x0600D423 RID: 54307 RVA: 0x0023B2B7 File Offset: 0x002394B7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwapLineupCsReq> Parser
		{
			get
			{
				return SwapLineupCsReq._parser;
			}
		}

		// Token: 0x17003BF6 RID: 15350
		// (get) Token: 0x0600D424 RID: 54308 RVA: 0x0023B2BE File Offset: 0x002394BE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwapLineupCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003BF7 RID: 15351
		// (get) Token: 0x0600D425 RID: 54309 RVA: 0x0023B2D0 File Offset: 0x002394D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwapLineupCsReq.Descriptor;
			}
		}

		// Token: 0x0600D426 RID: 54310 RVA: 0x0023B2D7 File Offset: 0x002394D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwapLineupCsReq()
		{
		}

		// Token: 0x0600D427 RID: 54311 RVA: 0x0023B2E0 File Offset: 0x002394E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwapLineupCsReq(SwapLineupCsReq other) : this()
		{
			this.kANKNKDGGOA_ = other.kANKNKDGGOA_;
			this.planeId_ = other.planeId_;
			this.extraLineupType_ = other.extraLineupType_;
			this.index_ = other.index_;
			this.dPBMDHCPFOL_ = other.dPBMDHCPFOL_;
			this.isVirtual_ = other.isVirtual_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D428 RID: 54312 RVA: 0x0023B34C File Offset: 0x0023954C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwapLineupCsReq Clone()
		{
			return new SwapLineupCsReq(this);
		}

		// Token: 0x17003BF8 RID: 15352
		// (get) Token: 0x0600D429 RID: 54313 RVA: 0x0023B354 File Offset: 0x00239554
		// (set) Token: 0x0600D42A RID: 54314 RVA: 0x0023B35C File Offset: 0x0023955C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KANKNKDGGOA
		{
			get
			{
				return this.kANKNKDGGOA_;
			}
			set
			{
				this.kANKNKDGGOA_ = value;
			}
		}

		// Token: 0x17003BF9 RID: 15353
		// (get) Token: 0x0600D42B RID: 54315 RVA: 0x0023B365 File Offset: 0x00239565
		// (set) Token: 0x0600D42C RID: 54316 RVA: 0x0023B36D File Offset: 0x0023956D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PlaneId
		{
			get
			{
				return this.planeId_;
			}
			set
			{
				this.planeId_ = value;
			}
		}

		// Token: 0x17003BFA RID: 15354
		// (get) Token: 0x0600D42D RID: 54317 RVA: 0x0023B376 File Offset: 0x00239576
		// (set) Token: 0x0600D42E RID: 54318 RVA: 0x0023B37E File Offset: 0x0023957E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExtraLineupType ExtraLineupType
		{
			get
			{
				return this.extraLineupType_;
			}
			set
			{
				this.extraLineupType_ = value;
			}
		}

		// Token: 0x17003BFB RID: 15355
		// (get) Token: 0x0600D42F RID: 54319 RVA: 0x0023B387 File Offset: 0x00239587
		// (set) Token: 0x0600D430 RID: 54320 RVA: 0x0023B38F File Offset: 0x0023958F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Index
		{
			get
			{
				return this.index_;
			}
			set
			{
				this.index_ = value;
			}
		}

		// Token: 0x17003BFC RID: 15356
		// (get) Token: 0x0600D431 RID: 54321 RVA: 0x0023B398 File Offset: 0x00239598
		// (set) Token: 0x0600D432 RID: 54322 RVA: 0x0023B3A0 File Offset: 0x002395A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DPBMDHCPFOL
		{
			get
			{
				return this.dPBMDHCPFOL_;
			}
			set
			{
				this.dPBMDHCPFOL_ = value;
			}
		}

		// Token: 0x17003BFD RID: 15357
		// (get) Token: 0x0600D433 RID: 54323 RVA: 0x0023B3A9 File Offset: 0x002395A9
		// (set) Token: 0x0600D434 RID: 54324 RVA: 0x0023B3B1 File Offset: 0x002395B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsVirtual
		{
			get
			{
				return this.isVirtual_;
			}
			set
			{
				this.isVirtual_ = value;
			}
		}

		// Token: 0x0600D435 RID: 54325 RVA: 0x0023B3BA File Offset: 0x002395BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwapLineupCsReq);
		}

		// Token: 0x0600D436 RID: 54326 RVA: 0x0023B3C8 File Offset: 0x002395C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwapLineupCsReq other)
		{
			return other != null && (other == this || (this.KANKNKDGGOA == other.KANKNKDGGOA && this.PlaneId == other.PlaneId && this.ExtraLineupType == other.ExtraLineupType && this.Index == other.Index && this.DPBMDHCPFOL == other.DPBMDHCPFOL && this.IsVirtual == other.IsVirtual && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D437 RID: 54327 RVA: 0x0023B454 File Offset: 0x00239654
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.KANKNKDGGOA != 0U)
			{
				num ^= this.KANKNKDGGOA.GetHashCode();
			}
			if (this.PlaneId != 0U)
			{
				num ^= this.PlaneId.GetHashCode();
			}
			if (this.ExtraLineupType != ExtraLineupType.LineupNone)
			{
				num ^= this.ExtraLineupType.GetHashCode();
			}
			if (this.Index != 0U)
			{
				num ^= this.Index.GetHashCode();
			}
			if (this.DPBMDHCPFOL != 0U)
			{
				num ^= this.DPBMDHCPFOL.GetHashCode();
			}
			if (this.IsVirtual)
			{
				num ^= this.IsVirtual.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D438 RID: 54328 RVA: 0x0023B516 File Offset: 0x00239716
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D439 RID: 54329 RVA: 0x0023B51E File Offset: 0x0023971E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D43A RID: 54330 RVA: 0x0023B528 File Offset: 0x00239728
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PlaneId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.PlaneId);
			}
			if (this.ExtraLineupType != ExtraLineupType.LineupNone)
			{
				output.WriteRawTag(40);
				output.WriteEnum((int)this.ExtraLineupType);
			}
			if (this.KANKNKDGGOA != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.KANKNKDGGOA);
			}
			if (this.Index != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Index);
			}
			if (this.DPBMDHCPFOL != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.DPBMDHCPFOL);
			}
			if (this.IsVirtual)
			{
				output.WriteRawTag(120);
				output.WriteBool(this.IsVirtual);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D43B RID: 54331 RVA: 0x0023B5F4 File Offset: 0x002397F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.KANKNKDGGOA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KANKNKDGGOA);
			}
			if (this.PlaneId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PlaneId);
			}
			if (this.ExtraLineupType != ExtraLineupType.LineupNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.ExtraLineupType);
			}
			if (this.Index != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Index);
			}
			if (this.DPBMDHCPFOL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DPBMDHCPFOL);
			}
			if (this.IsVirtual)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D43C RID: 54332 RVA: 0x0023B6A0 File Offset: 0x002398A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwapLineupCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.KANKNKDGGOA != 0U)
			{
				this.KANKNKDGGOA = other.KANKNKDGGOA;
			}
			if (other.PlaneId != 0U)
			{
				this.PlaneId = other.PlaneId;
			}
			if (other.ExtraLineupType != ExtraLineupType.LineupNone)
			{
				this.ExtraLineupType = other.ExtraLineupType;
			}
			if (other.Index != 0U)
			{
				this.Index = other.Index;
			}
			if (other.DPBMDHCPFOL != 0U)
			{
				this.DPBMDHCPFOL = other.DPBMDHCPFOL;
			}
			if (other.IsVirtual)
			{
				this.IsVirtual = other.IsVirtual;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D43D RID: 54333 RVA: 0x0023B740 File Offset: 0x00239940
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D43E RID: 54334 RVA: 0x0023B74C File Offset: 0x0023994C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 48U)
				{
					if (num == 24U)
					{
						this.PlaneId = input.ReadUInt32();
						continue;
					}
					if (num == 40U)
					{
						this.ExtraLineupType = (ExtraLineupType)input.ReadEnum();
						continue;
					}
					if (num == 48U)
					{
						this.KANKNKDGGOA = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 56U)
					{
						this.Index = input.ReadUInt32();
						continue;
					}
					if (num == 64U)
					{
						this.DPBMDHCPFOL = input.ReadUInt32();
						continue;
					}
					if (num == 120U)
					{
						this.IsVirtual = input.ReadBool();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040054E9 RID: 21737
		private static readonly MessageParser<SwapLineupCsReq> _parser = new MessageParser<SwapLineupCsReq>(() => new SwapLineupCsReq());

		// Token: 0x040054EA RID: 21738
		private UnknownFieldSet _unknownFields;

		// Token: 0x040054EB RID: 21739
		public const int KANKNKDGGOAFieldNumber = 6;

		// Token: 0x040054EC RID: 21740
		private uint kANKNKDGGOA_;

		// Token: 0x040054ED RID: 21741
		public const int PlaneIdFieldNumber = 3;

		// Token: 0x040054EE RID: 21742
		private uint planeId_;

		// Token: 0x040054EF RID: 21743
		public const int ExtraLineupTypeFieldNumber = 5;

		// Token: 0x040054F0 RID: 21744
		private ExtraLineupType extraLineupType_;

		// Token: 0x040054F1 RID: 21745
		public const int IndexFieldNumber = 7;

		// Token: 0x040054F2 RID: 21746
		private uint index_;

		// Token: 0x040054F3 RID: 21747
		public const int DPBMDHCPFOLFieldNumber = 8;

		// Token: 0x040054F4 RID: 21748
		private uint dPBMDHCPFOL_;

		// Token: 0x040054F5 RID: 21749
		public const int IsVirtualFieldNumber = 15;

		// Token: 0x040054F6 RID: 21750
		private bool isVirtual_;
	}
}
